package com.uniview.entity.po;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * 工单媒体类
 * 
 * @author pangcg
 * @Since 2018年7月22日
 */
@Entity
@Table(name = "sd_orders_media")
public class ServiceOrderMedia implements Serializable {

	private static final long serialVersionUID = -8300088567122927436L;

	@Id
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="order_media_sequence")
	@SequenceGenerator(name="order_media_sequence", sequenceName="order_media_sequence", allocationSize=1, initialValue=1)
	private Integer omId;

	private Integer orderId;

	private String mediaId;

	public Integer getOmId() {
		return omId;
	}

	public void setOmId(Integer omId) {
		this.omId = omId;
	}

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public String getMediaId() {
		return mediaId;
	}

	public void setMediaId(String mediaId) {
		this.mediaId = mediaId;
	}

}
